package com.fernandomartines.dbcheck.graph.element;

import java.io.Serializable;

public class ModelGraphAssociation implements Serializable {

    private String id;
    private String name;
    private ModelGraphAssociationPoint associationStart;
    private ModelGraphAssociationPoint associationEnd;

    public ModelGraphAssociation() {
        this.id = "";
        this.name = "";
        this.associationStart = null;
        this.associationEnd = null;
    }

    public ModelGraphAssociation(String id, String name,
            ModelGraphAssociationPoint associationStart,
            ModelGraphAssociationPoint associationEnd)
    {
        this.id = id;
        this.name = name;
        this.associationStart = associationStart;
        this.associationEnd = associationEnd;
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ModelGraphAssociationPoint getAssociationStart() {
        return associationStart;
    }

    public void setAssociationStart(ModelGraphAssociationPoint associationStart) {
        this.associationStart = associationStart;
    }

    public ModelGraphAssociationPoint getAssociationEnd() {
        return associationEnd;
    }

    public void setAssociationEnd(ModelGraphAssociationPoint associationEnd) {
        this.associationEnd = associationEnd;
    }

}
